
package cn.edu.scau.cmi.hombio.service;

import cn.edu.scau.cmi.hombio.domain.FeedTaskQuality;
import cn.edu.scau.cmi.hombio.domain.FodderType;
import cn.edu.scau.cmi.hombio.domain.TaskPigsty;

import java.util.List;
import java.util.Set;

/**
 * Spring service that handles CRUD requests for FeedTaskQuality entities
 * 
 */
public interface FeedTaskQualityService {

	/**
	 */
	public FeedTaskQuality findFeedTaskQualityByPrimaryKey(Integer id);

	/**
	* Save an existing TaskPigsty entity
	* 
	 */
	public FeedTaskQuality saveFeedTaskQualityTaskPigsty(Integer id_1, TaskPigsty related_taskpigsty);

	/**
	* Delete an existing TaskPigsty entity
	* 
	 */
	public FeedTaskQuality deleteFeedTaskQualityTaskPigsty(Integer feedtaskquality_id, Integer related_taskpigsty_id);

	/**
	* Save an existing FodderType entity
	* 
	 */
	public FeedTaskQuality saveFeedTaskQualityFodderType(Integer id_2, FodderType related_foddertype);

	/**
	* Load an existing FeedTaskQuality entity
	* 
	 */
	public Set<FeedTaskQuality> loadFeedTaskQualitys();

	/**
	* Return a count of all FeedTaskQuality entity
	* 
	 */
	public Integer countFeedTaskQualitys();

	/**
	* Save an existing FeedTaskQuality entity
	* 
	 */
	public void saveFeedTaskQuality(FeedTaskQuality feedtaskquality);

	/**
	* Return all FeedTaskQuality entity
	* 
	 */
	public List<FeedTaskQuality> findAllFeedTaskQualitys(Integer startResult, Integer maxRows);

	/**
	* Delete an existing FodderType entity
	* 
	 */
	public FeedTaskQuality deleteFeedTaskQualityFodderType(Integer feedtaskquality_id_1, Integer related_foddertype_id);

	/**
	* Delete an existing FeedTaskQuality entity
	* 
	 */
	public void deleteFeedTaskQuality(FeedTaskQuality feedtaskquality_1);
}